<%@page import="aex.domain.ArticleCategory"%>
<%@page import="aex.domain.Article"%>
<%@page import="aex.service.ShowViewService"%>
<%@page import="aex.util.SSHUtil"%>
<%@page import="org.springframework.web.context.WebApplicationContext"%>
<%@page import="aex.domain.Puser"%>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
WebApplicationContext ac = SSHUtil.getApplication(request);
ShowViewService svService = (ShowViewService) ac.getBean(ShowViewService.SERVICE_NAME);
%>

<!DOCTYPE>
<html>
  <head>
    <base href="<%=basePath%>">
    <meta charset="UTF-8">
    <meta name="keywords" content="${webKeyWord}">
	<meta name="description" content="${webDescription}" />
	<title> ${webTitle} </title>
	<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" />
  	
	<link rel="stylesheet" type="text/css" href="expandStyle/aex_userPage.css">
	<link rel="stylesheet" type="text/css" href="expandStyle/index.css" />
	<link rel="stylesheet" type="text/css" href="expandStyle/Release_article.css" />
	
	<script type="text/javascript" src="systemJs/jquery-1.8.3.min.js"></script>
	<script type="text/javascript" src="expandStyle/aex_userPage.js"></script>
	</head>
  <body>
    
    <!--导航栏-->
    
    <%
    	Puser user=(Puser)request.getSession().getAttribute("user");
    	if(user==null){
    		%>
    			<jsp:include page="/systemPage/headNavVisitor1.jsp"></jsp:include>		
    		<%
    	}else{
    		%>
				<jsp:include page="/systemPage/headNavVisitor2.jsp"></jsp:include>
    		<%
    	}
    %>
	
	
	
	
	
<!--主要内容-->
  <div class="container">
  	 <form action="user/user_sendMail.do?herId=${her.puId}" method="post">
        <div id="editor_box">
           <h2>发送短消息</h2>
           <div class="editor_title">收件人</div>
           <div class="send_people"><img src="${her.puPhoto}" width="80px" height="80px" align="left"><a href="visitor/visitor_herHome.do?id=${her.puId}">${her.puName}</a></div>
           <div class="editor_title">内容</div>
           <div class="editor_content">
              <textarea name='content' ></textarea>
              <div class="editor_info">
                 <input type="submit" value="发表" class="sub">
              </div>
           </div>
        </div>
     </form>
  </div>
  
    <!--网站底部-->
	<jsp:include page="/systemPage/footerVisitor.jsp"></jsp:include>
	<a href="adminPage/login.jsp">后台管理</a>
    <script type="text/javascript" src="expandStyle/album.js"></script> 
<script type="text/javascript">
	

	/**幻灯片**/
	$(function(){
	$('#demo01').flexslider({
		animation: "slide",
		direction:"horizontal",
		easing:"swing"
	});
});
</script>
    
  </body>
</html>
